<?php
include_once('ClsSebent/config.php');
if($_SESSION['SITE_ID']==101)
{
$nap=($ap=='Y')? 'N':'Y';
$qry="update reseller set auto_pilot='".$nap."' where site_id=101";
mysql_query($qry);
header('Location: settings.php?site_id=101');
}
?>